<?php

class NewsController extends BaseController {

    public function getIndex($year = null, $month = null, $day = null, $permlink = null)
    {
    	$news = News::where('permalien', '=', $permlink)->first();
		return View::make('news.index', compact('news'));
    }
}